<template>
	<view class="point-title">
		<view class="point-small">
			<view class="point-middle">
				<view class="potin-large">
					<view class="title" :style="{color: titleColor}">{{title}}
					</view>
				</view>
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		props: {
			title: {
				type: String,
				default: () => ''
			},
			titleColor: {
				type: String,
				default: () => '#4174FD'
			}
		}
	}
</script>
<style lang="scss" scoped>
	.point-title {
		display: flex;
		justify-content: center;
		height: 42rpx;

		.point-small {
			// width: 290rpx;
			height: 42rpx;
			display: flex;
			justify-content: space-between;
			align-items: center;

			&:before,
			&:after {
				display: block;
				content: ' ';
				width: 6rpx;
				height: 6rpx;
				opacity: 0.2;
				background: #4174fd;
				border-radius: 50%;
			}
		}

		.point-middle {
			// width: 262rpx;
			height: 42rpx;
			display: flex;
			justify-content: space-between;
			align-items: center;
			flex: 0 2 auto;			
			margin: 0 8rpx;

			&:before,
			&:after {
				display: block;
				content: ' ';
				width: 10rpx;
				height: 10rpx;
				opacity: 0.4;
				background: #4174fd;
				border-radius: 50%;
			}
		}

		.potin-large {
			// width: 226rpx;
			height: 42rpx;
			display: flex;
			justify-content: space-between;
			align-items: center;
			flex: 0 2 auto;
			margin: 0 8rpx;

			&:before,
			&:after {
				display: block;
				content: ' ';
				width: 14rpx;
				height: 14rpx;
				opacity: 0.6;
				background: #4174fd;
				border-radius: 50%;
			}

			.title {
				font-size: 15px;
				font-weight: 600;
				padding: 0 24rpx;
			}
		}
	}
</style>
